#ifndef MYLLK_H
#define MYLLK_H

#include <QMainWindow>
#include "paintarea.h"
#include "jwidget/jdialog.h"
#include <QDialog>
class Myllk : public JDialog
//class Myllk : public QMainWindow,public JDialog
{
    Q_OBJECT
public:
    explicit Myllk(QWidget *parent = 0);
    ~Myllk();
    void createMenus();
    void createActions();
    void createToolBars();
//private:
    QHBoxLayout *hLayout;
    PaintArea *gamepanel;
   // QWidget *timepanl;
    QWidget *mainpanl;
    QMenu *fileMenu;
    QMenu *toolMenu;
   // QMenu *rotateMenu;
    QMenu *helpMenu;
    QAction *newgameAction;
    QAction *exitAction;
    QAction *nextpairAction;
    QAction *resetAction;
    QAction *aboutAction;

    QPushButton		*pNewButton	    ;
    QPushButton		*pCloseButton	;
    QPushButton		*pAnserButton	;
    QPushButton		*pResetButton	;
    QGridLayout     *pMainLayout	;

  //  QAction *rotate180Action;
signals:

public slots:
    void slotAbout();
     void anser();
      void reset();
       void openB();
};

#endif // MYLLK_H
